package com.hejia.alauda.entity;

import javax.persistence.Column;
import java.util.Date;

/**
 * service - com.hejia.alauda.entity
 * Created by clt on 15/3/23.下午4:37
 * 法定节假日
 */
public class StatutoryDays extends BaseEntity{

    //STATUTORY_HOLIDAYS 法定节假日
    //STATUTORY_HOLIDAYS_WORK 法定周末上班日
    public enum Status {
        STATUTORY_HOLIDAYS, STATUTORY_HOLIDAYS_WORK
    }

    @Column
    private Date statutoryDays;//日期

    @Column
    private Status type;

    public Date getStatutoryDays() {
        return statutoryDays;
    }

    public void setStatutoryDays(Date statutoryDays) {
        this.statutoryDays = statutoryDays;
    }

    public Status getType() {
        return type;
    }

    public void setType(Status type) {
        this.type = type;
    }
}
